<?php /* Smarty version 2.6.18, created on 2010-08-28 16:27:12
         compiled from alumni/career/search_results.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'alumni/career/search_results.tpl', 16, false),)), $this); ?>
<div class="box_search_results">
  <div class="title_searchresults">
    <span class="span">Search <?php echo $this->_tpl_vars['TOTAL']; ?>
 results </span>
  </div>
  <div class="results">
    <table cellpadding="0" cellspacing="0" border="0" width="100%" class="table_search">
      <tr>
          <th class="class1" width="90">Date of post</th>
            <th class="class1" width="110">Position</th>
            <th class="class1" width="130">Company</th>
            <th class="class1" width="100">Location</th>
            <th class="class2" width="100">Salary</th>
        </tr>
        <?php $_from = $this->_tpl_vars['arrResultsCareer']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['nameCar'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['nameCar']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['keyCar'] => $this->_tpl_vars['itemCar']):
        $this->_foreach['nameCar']['iteration']++;
?>
        <tr class="<?php if ((1 & $this->_tpl_vars['keyCar']%2)): ?>tb_bg<?php endif; ?>">
            <td><?php echo ((is_array($_tmp=$this->_tpl_vars['itemCar']['created'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%Y") : smarty_modifier_date_format($_tmp, "%d/%m/%Y")); ?>
</td>
            <td>
            	<a href="<?php echo @APPLICATION_URL; ?>
alumni/career/view/<?php echo $this->_tpl_vars['itemCar']['id']; ?>
/?height=500&width=720&modal=false" class="thickbox" title="View job detail">
            	<?php echo $this->_tpl_vars['itemCar']['position']; ?>

             	</a>
            </td>
            <td><?php echo $this->_tpl_vars['itemCar']['company']; ?>
</td>
            <td><?php echo $this->_tpl_vars['itemCar']['location_name']; ?>
</td>
            <td>
            	<?php if ($this->_tpl_vars['itemCar']['salary_unit'] == 1): ?>
            		Negociable
              <?php elseif ($this->_tpl_vars['itemCar']['salary_unit'] == 2): ?>
              	Competitive
              <?php elseif ($this->_tpl_vars['itemCar']['salary_unit'] == 'vn'): ?>
              	<?php echo $this->_tpl_vars['itemCar']['salary']; ?>
 VND
              <?php elseif ($this->_tpl_vars['itemCar']['salary_unit'] == 'usd'): ?>
              	<?php echo $this->_tpl_vars['itemCar']['salary']; ?>
 USD
              <?php endif; ?>
            </td>
        </tr>
        <?php endforeach; endif; unset($_from); ?>        
    </table>
  <div class="pagebottom">
  <table cellpadding="0" cellspacing="0" border="0" align="center">
    <tr>
      <?php echo $this->_tpl_vars['NAVIGATION_PAGE']; ?>

    </tr>
  </table>
  </div>
  </div>
</div>